package com.chengjj.kings.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: 成俊杰
 * @CreateDate: 2019/3/18
 * @Version: 1.0
 * @Description: 加解密密钥配置
 */
@Data
@Component
@ConfigurationProperties("encrypt")
public class EncryptProperties {
    private Boolean enabled = true;
    /**
     * 平台密钥配置
     */
    private Map<String, String> encryptions = new HashMap<>();
}
